package com.yanqu.road.entity.log.cross.stronghold;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_stronghold_eliminate_damage", desc = "商会据点战淘汰赛伤害日志", autoSave = true, uploadCk = true, isCross = true)
public class LogStrongholdEliminateDamage extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "出战门客")
    private int patronsId;
    @FieldTypeAnnotation(desc = "出战次数")
    private int fightTimes;
    @FieldTypeAnnotation(desc = "伤害")
    private String damage;
    @FieldTypeAnnotation(desc = "是否击杀， 0 否  1是")
    private boolean kill;
    @FieldTypeAnnotation(desc = "对方商会据点id")
    private String enemyUnionId;
    @FieldTypeAnnotation(desc = "对方用户ID")
    private long enemyUserId;
    @FieldTypeAnnotation(desc = "对方用户门客ID")
    private int enemyPatronsId;
    @FieldTypeAnnotation(desc = "获得奖励")
    private String reward;

    public LogStrongholdEliminateDamage(int activityId, long userId, int patronsId, int fightTimes, String damage, boolean kill, String enemyUnionId, long enemyUserId, int enemyPatronsId, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.patronsId = patronsId;
        this.fightTimes = fightTimes;
        this.damage = damage;
        this.kill = kill;
        this.enemyUnionId = enemyUnionId;
        this.enemyUserId = enemyUserId;
        this.enemyPatronsId = enemyPatronsId;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }


}
